﻿@model IEnumerable<KRM.Core.tblLoad>

@{
    ViewBag.Title = "Paragon Unplan Orders";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script src="~/js/load.js"></script>
<script src="~/js/tabletocsv.js"></script>

<div class="container-fluid">
    <div class="row-fluid" style="margin: 10px 0">
        <div class="span6">
            <button type="button" class="btn btn-primary" onclick="refreshParagonUnplanOrders()">Refresh</button>
            <a class="btn btn-primary btn-vieworder" target="_blank">View Order</a>
            <button type="button" class="btn btn-primary btn-selectdeliverydate" onclick="alert('Please select order')">Select Delivery Date</button>
        </div>
    </div>

    <div class="row-fluid">
        <div class="span2">
            <label class="countOrder">0</label>
        </div>
        <div class="span10">
            <label>
                <input type="checkbox" class="cbcheck" onclick="showkybohomedelivery($(this))" />Show Kybo Home Delivery Orders 
                <a class="btn" style="padding: 0; max-height: 30px; float: right" onclick="ExportCSVWithHead($('#tb-paragonunplanorders'),'ParagonUnplanOrder.csv',$('#tb-paragonunplanorders-head:first'))">
                    <img src="/img/icon-exel.png" style="max-height: 30px">
                </a>
            </label>

        </div>
    </div>

    <div class="page-header"></div>
    <div class="paragonUnplanOrderData">
        <table class="table table-bordered table-fix tbl-selected krmtable" data-height="200">
            <thead>
                <tr>
                    <th>DatePlaced</th>
                    <th>OrderRef</th>
                    <th>Postcode</th>
                    <th>Customer</th>
                    <th>Telephone1</th>
                    <th>Mobile</th>
                    <th>Qty</th>
                    <th>Product</th>
                    <th>Special Instructions</th>
                    <th>Weight KG</th>
                    <th>Address</th>
                    <th>CarrierName</th>
                    <th>Packages</th>
                    <th>Telephone2</th>
                    <th>ProdOptionID</th>
                    <th>OrderID</th>
                    <th>OrderItemID</th>
                    <th>LoadItemStatus</th>
                </tr>
            </thead>
        </table>
    </div>
</div>
